<!--#include file="./top.asp"-->
<%
dim rs_rpt_summary,str_rpt_summary
set rs_rpt_summary = server.CreateObject("ADODB.Recordset")
str_rpt_summary = "select * from rpt_summary where stu_id = '" & request.QueryString("stu_id") & "'"
rs_rpt_summary.open str_rpt_summary, conn,1,3

if rs_rpt_summary.eof then
	rs_rpt_summary.addnew
	rs_rpt_summary.fields("stu_id") = request.QueryString("stu_id")
	rs_rpt_summary.update
	rs_rpt_summary.close
	rs_rpt_summary.open str_rpt_summary, conn,1,3
end if

response.Write str_rpt_summary

for i = 1 to rs_rpt_summary.fields.count - 1
	rs_rpt_summary.fields(i) = request.Form("rs_rpt_summary_" & i)
	'response.Write "rpt_summary_" & i & "=" & request.Form("rs_rpt_summary_" & i) & "<br />"
next
rs_rpt_summary.update
%>



</body>
</html>
<%
rs_rpt_summary.close
set rs_rpt_summary = nothing
call CloseConn()

response.Redirect("./rpt_summary.asp?stu_id="& request.QueryString("stu_id"))
%>